package com.etc.service;

import com.etc.entity.Video;
import com.github.pagehelper.PageInfo;

import java.util.List;


/**
 * (Video)表服务接口
 *
 */
public interface VideoService {

    /**
     * 查询所以视频
     * @return
     */
    PageInfo<Video> queryVideo(int pageNum,int pageSize,String typeName);
    boolean addVideo(Video video);
    /**
     * 按id删除视频
     * @return
     */
    boolean delete(String videoId);
    PageInfo<Video> seekVideo(int pageNum,int pageSize,String videoName);

}
